[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Assembly: Calculator (Calculator)
This method divides two integers.
Namespace: Calculator
Assembly: Calculator (Calculator)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function Divide ( _ a As Integer, _ b As Integer _ ) As Integer |
| C# |
|---|
public int Divide ( int a, int b ) |
| C++ |
|---|
public: int Divide ( int a, int b ) |
Parameters
- a (System.Int32)
- The first number
- b (System.Int32)
- The second number
Return Value
An integer representing result of division of a and b| Divide(Int32, Int32) | Public method |